from playwright.sync_api import Page


class SystemManagePage:

    def __init__(self, page:Page):
        self.page = page
        self.system_manage = page.get_by_text('系统管理')

    def navigate(self, url='/index'):
        self.page.goto(url)
        self.system_manage.click()
